package com.ititer.util;

public class MyBatisCriteriaFactory {
	public static <T> T newCriteria(Class<T> criteria) {
		try {
			return criteria.newInstance();
		} catch (InstantiationException e) {
			e.printStackTrace();
		} catch (IllegalAccessException e) {
			e.printStackTrace();
		}
		return null;
	}
}
